/*
 * XMPPCallback.h
 *
 *  Created on: Jan 7, 2011
 *      Author: dt
 */

#ifndef XMPPCALLBACK_H_
#define XMPPCALLBACK_H_

#include "ConnectionCallback.h"

class XMPPCallback
{
public:

  virtual void onChatMessageReceived(std::string& from, std::string& msg) = 0;

  virtual void onRosterAdd(std::string& username ) = 0;

  virtual void handlePBUFMSG(char* pbuf, int len) = 0;

  virtual void onXmppConnected() = 0;

  //this should return null to reject or a instance of a connection callback handler to accept
  virtual ConnectionCallback* onIncomingTunnelRequest() = 0;


private:


};

#endif /* XMPPCALLBACK_H_ */


//__ZTV12XMPPCallback$non_lazy_ptr
//__ZTV12XMPPCallback$non_lazy_ptr
